<!DOCTYPE html>
<html lang="en" style="font-size: 100px">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <!-- 基础样式引入 -->
    <link rel="stylesheet" href="/css/reset.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.12/lib/index.css"/>

  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->

    <script>
      // 适配
      function adapter(){
            let fontSize = document.documentElement.clientWidth*100/375;
            document.documentElement.style.fontSize = fontSize + 'px'
        }
        adapter()
        window.onresize = adapter;
    </script>
  </body>
</html>
